/*******************************************************************************
 *
 * Copyright (c) 2001-2006 Primeton Technologies, Ltd.
 * All rights reserved.
 *
 * Created on Apr 11, 2008
 *******************************************************************************/
package com.cap.cfae.cfae.impl;

import com.cap.cfae.cfae.CfaeIssuer;
import com.primeton.ext.data.sdo.DataUtil;
import com.primeton.ext.data.sdo.ExtendedDataObjectImpl;

import commonj.sdo.Type;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Test</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link com.cap.cfae.cfae.impl.CfaeIssuerImpl#getIssueUserid <em>IssueUserid</em>}</li>
 *   <li>{@link com.cap.cfae.cfae.impl.CfaeIssuerImpl#getIssueUser <em>IssueUser</em>}</li>
 *   <li>{@link com.cap.cfae.cfae.impl.CfaeIssuerImpl#getBondGrade <em>BondGrade</em>}</li>
 *   <li>{@link com.cap.cfae.cfae.impl.CfaeIssuerImpl#getIssuerRegion <em>IssuerRegion</em>}</li>
 *   <li>{@link com.cap.cfae.cfae.impl.CfaeIssuerImpl#getIssuerRegionBh <em>IssuerRegionBh</em>}</li>
 *   <li>{@link com.cap.cfae.cfae.impl.CfaeIssuerImpl#getIssuerType <em>IssuerType</em>}</li>
 * </ul>
 * </p>
 *
 * @extends ExtendedDataObjectImpl;
 *
 * @implements CfaeIssuer;
 */

public class CfaeIssuerImpl extends ExtendedDataObjectImpl implements CfaeIssuer {
	/**
	 * Comment for <code>serialVersionUID</code>
	 */
	private static final long serialVersionUID = 1L;
	public final static int INDEX_ISSUEUSERID = 0;
	public final static int INDEX_ISSUEUSER = 1;
	public final static int INDEX_BONDGRADE = 2;
	public final static int INDEX_ISSUERREGION = 3;
	public final static int INDEX_ISSUERREGIONBH = 4;
	public final static int INDEX_ISSUERTYPE = 5;
	public static final int SDO_PROPERTY_COUNT = 6;

	public static final int EXTENDED_PROPERTY_COUNT = -1;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 */
	public CfaeIssuerImpl() {
		this(TYPE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 */
	public CfaeIssuerImpl(Type type) {
		super(type);
	}

	protected void validate() {
		validateType(TYPE);
	}

	/**
	 * Returns the value of the '<em><b>IssueUserid</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>IssueUserid</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>IssueUserid</em>' attribute.
	 * @see #setIssueUserid(java.lang.String)
	 */
	public String getIssueUserid() {
		return DataUtil.toString(super.getByIndex(INDEX_ISSUEUSERID, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getIssueUserid <em>IssueUserid</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>IssueUserid</em>' attribute.
	 * @see #getIssueUserid()
	 */
	public void setIssueUserid(String issueUserid) {
		super.setByIndex(INDEX_ISSUEUSERID, issueUserid);
	}

	/**
	 * Returns the value of the '<em><b>IssueUser</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>IssueUser</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>IssueUser</em>' attribute.
	 * @see #setIssueUser(java.lang.String)
	 */
	public String getIssueUser() {
		return DataUtil.toString(super.getByIndex(INDEX_ISSUEUSER, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getIssueUser <em>IssueUser</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>IssueUser</em>' attribute.
	 * @see #getIssueUser()
	 */
	public void setIssueUser(String issueUser) {
		super.setByIndex(INDEX_ISSUEUSER, issueUser);
	}

	/**
	 * Returns the value of the '<em><b>BondGrade</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>BondGrade</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>BondGrade</em>' attribute.
	 * @see #setBondGrade(java.lang.String)
	 */
	public String getBondGrade() {
		return DataUtil.toString(super.getByIndex(INDEX_BONDGRADE, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getBondGrade <em>BondGrade</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>BondGrade</em>' attribute.
	 * @see #getBondGrade()
	 */
	public void setBondGrade(String bondGrade) {
		super.setByIndex(INDEX_BONDGRADE, bondGrade);
	}

	/**
	 * Returns the value of the '<em><b>IssuerRegion</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>IssuerRegion</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>IssuerRegion</em>' attribute.
	 * @see #setIssuerRegion(java.lang.String)
	 */
	public String getIssuerRegion() {
		return DataUtil.toString(super.getByIndex(INDEX_ISSUERREGION, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getIssuerRegion <em>IssuerRegion</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>IssuerRegion</em>' attribute.
	 * @see #getIssuerRegion()
	 */
	public void setIssuerRegion(String issuerRegion) {
		super.setByIndex(INDEX_ISSUERREGION, issuerRegion);
	}

	/**
	 * Returns the value of the '<em><b>IssuerRegionBh</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>IssuerRegionBh</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>IssuerRegionBh</em>' attribute.
	 * @see #setIssuerRegionBh(java.lang.String)
	 */
	public String getIssuerRegionBh() {
		return DataUtil.toString(super.getByIndex(INDEX_ISSUERREGIONBH, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getIssuerRegionBh <em>IssuerRegionBh</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>IssuerRegionBh</em>' attribute.
	 * @see #getIssuerRegionBh()
	 */
	public void setIssuerRegionBh(String issuerRegionBh) {
		super.setByIndex(INDEX_ISSUERREGIONBH, issuerRegionBh);
	}

	/**
	 * Returns the value of the '<em><b>IssuerType</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>IssuerType</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>IssuerType</em>' attribute.
	 * @see #setIssuerType(java.lang.String)
	 */
	public String getIssuerType() {
		return DataUtil.toString(super.getByIndex(INDEX_ISSUERTYPE, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getIssuerType <em>IssuerType</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>IssuerType</em>' attribute.
	 * @see #getIssuerType()
	 */
	public void setIssuerType(String issuerType) {
		super.setByIndex(INDEX_ISSUERTYPE, issuerType);
	}


}